package com.example.myapplication.bean;

import com.example.myapplication.util.FieldOrder;

public class Inspection {
    @FieldOrder(order = 1)
    private String time; // 点检时间
    @FieldOrder(order = 2)
    private String classes;// 班次
    @FieldOrder(order = 3)
    private String category;// 设备类别
    @FieldOrder(order = 4)
    private String name;// 设备名称
    @FieldOrder(order = 5)
    private String group;// 作业班组
    @FieldOrder(order = 6)
    private String people;// 点检人
    @FieldOrder(order = 7)
    private String abnormal;// 点检异常情况
    @FieldOrder(order = 8)
    private String situation;// 点检项目情况


    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }

    public String getPeople() {
        return people;
    }

    public void setPeople(String people) {
        this.people = people;
    }

    public String getAbnormal() {
        return abnormal;
    }

    public void setAbnormal(String abnormal) {
        this.abnormal = abnormal;
    }

    public String getSituation() {
        return situation;
    }

    public void setSituation(String situation) {
        this.situation = situation;
    }

    public Inspection() {
    }

    public Inspection(String time, String classes, String category, String name,
                      String group, String people, String abnormal, String situation) {
        this.time = time;
        this.classes = classes;
        this.category = category;
        this.name = name;
        this.group = group;
        this.people = people;
        this.abnormal = abnormal;
        this.situation = situation;
    }

    @Override
    public String toString() {
        return "Inspection{" +
                "time='" + time + '\'' +
                ", classes='" + classes + '\'' +
                ", category='" + category + '\'' +
                ", name='" + name + '\'' +
                ", group='" + group + '\'' +
                ", people='" + people + '\'' +
                ", abnormalDescription='" + abnormal + '\'' +
                ", situation='" + situation + '\'' +
                '}';
    }
}
